package com.iemp.bean.impl;

import com.iemp.bean.IEntity;

public class Account implements IEntity {
    private Integer accountId;

    private String name;

    private String accountname;

    private String password;

    private Integer accountRoleId;

    public Integer getAccountId() {
        return accountId;
    }

    public void setAccountId(Integer accountId) {
        this.accountId = accountId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getAccountname() {
        return accountname;
    }

    public void setAccountname(String accountname) {
        this.accountname = accountname;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public Integer getAccountRoleId() {
        return accountRoleId;
    }

    public void setAccountRoleId(Integer accountRoleId) {
        this.accountRoleId = accountRoleId;
    }

    @Override
    public Integer id() {
        return getAccountId();
    }

    @Override
    public void setId(Integer id) {
        setAccountId(id);
    }
}